import { Module } from '@nestjs/common';
import { RoleModelDataService } from './role-model-data.service';
import { RoleModelDataResolver } from './role-model-data.resolver';
import { MongooseModule } from '@nestjs/mongoose';
import {
  RoleModelData,
  RoleModelDataSchema,
} from './entities/role-model-datum.entity';

@Module({
  providers: [RoleModelDataResolver, RoleModelDataService],
  imports: [
    MongooseModule.forFeature([
      { name: RoleModelData.name, schema: RoleModelDataSchema },
    ]),
  ],
})
export class RoleModelDataModule {}
